const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true
},
)
module.exports={
  devServer: {
    open: true,
    host: 'localhost',
    port: 8080,
    https: false,
    proxy: { //配置跨域
        '/api': {
            target: 'http://127.0.0.1:3000',
            changOrigin: true, //允许跨域
        }
    }
  }
}
